﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DuLieu
{
    public class DuongDTO : IComparable
    {
        int _maDuong;

        public int MaDuong
        {
            get { return _maDuong; }
            set { _maDuong = value; }
        }
        string _tenDuong;

        public string TenDuong
        {
            get { return _tenDuong; }
            set { _tenDuong = value; }
        }

        public int CompareTo(object obj)
        {
            DuongDTO otherDuong = (DuongDTO)obj;
            return this._tenDuong.CompareTo(otherDuong._tenDuong);
        }
    }
}
